Represents .Net domain. One domain is created automatically when first ClrDomain object is encountered. You may specify almost all properties that AppDomainSetup object has. ApplicationBase for main domain can not be specified and it is directory where .hta, html, .wsits, .itsáor .chm file is located or root directory of web-site.
Property | Description |
---|---|
DomainName | Friendly name of this application domain. |
MainDomain | Shows is this domain the main domain in application or not. Application has one main domain for every site that it contains - for example, one domain for compiled HTML application. |
ApplicationBase | Gets the name of the directory containing the application. Read-only. |
ApplicationName | Gets or sets the name of the application. |
CachePath | Gets or sets the name of an area specific to the application where files are shadow copied. |
ConfigurationFile | Gets or sets the name of the configuration file for an application domain. Default configuration file for compiled HTML application - appfile.ext.config, where appfile.ext is filename of the application with extenstion, for example for Hello.wsits default configuration file is Hello.wsits.config. |
DynamicBase | Gets or sets the directory where dynamically generated files are stored and accessed. |
LicenseFile | Gets or sets the location of the license file associated with this domain. |
PrivateBinPath | Gets or sets the list of directories that is combined with the ApplicationBase directory to probe for private assemblies. |
PrivateBinPathProbe | Gets or sets the private binary directory path used to locate an application. |
ShadowCopyDirectories | Gets or sets the names of the directories containing assemblies to be shadow copied. |
ShadowCopyFiles | Gets or sets a string that indicates whether shadow copying is turned on or off. |
Method | Description |
---|---|
Open | Createsá.Net domain. Domain is created automatically when CreateInstance is called. |
Close | Unloadsá.Net domain. |
CreateInstance (string AssemblyName, string TypeName) | Creates new .Net object instance. Object must have default constructor (constructor without parameters). |
Parameter | Description |
---|---|
DomainName | Friendly name of this application domain. |
MainDomain | Shows is this domain the main domain in application or not. Application has one main domain for every site that it contains - for example, one domain for compiled HTML application. |
ApplicationName | Gets or sets the name of the application. |
CachePath | Gets or sets the name of an area specific to the application where files are shadow copied. |
ConfigurationFile | Gets or sets the name of the configuration file for an application domain. Default configuration file for compiled HTML application - appfile.ext.config, where appfile.ext is filename of the application with extenstion, for example for Hello.wsits default configuration file is Hello.wsits.config. |
DynamicBase | Gets or sets the directory where dynamically generated files are stored and accessed. |
LicenseFile | Gets or sets the location of the license file associated with this domain. |
PrivateBinPath | Gets or sets the list of directories that is combined with the ApplicationBase directory to probe for private assemblies. |
PrivateBinPathProbe | Gets or sets the private binary directory path used to locate an application. |
ShadowCopyDirectories | Gets or sets the names of the directories containing assemblies to be shadow copied. |
ShadowCopyFiles | Gets or sets a string that indicates whether shadow copying is turned on or off. |